<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:73:"D:\phpStudy\WWW\auth/application/adminmall\view\union_store\examines.html";i:1496201812;s:64:"D:\phpStudy\WWW\auth/application/adminmall\view\public\base.html";i:1496201810;}*/ ?>
<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta name="renderer" content="webkit">
		<meta http-equiv="Cache-Control" content="no-siteapp" />
		<title>高级管理员</title>
		<meta name="keywords" content="">
		<meta name="description" content="">
		<!--[if lt IE 9]>
    	<meta http-equiv="refresh" content="0;ie.html" />
    	<![endif]-->
		<link rel="shortcut icon" href="favicon.ico">
		<link href="__CSS__/bootstrap.min.css" rel="stylesheet">
		<link href="__CSS__/font-awesome.min.css" rel="stylesheet">
		<link href="__CSS__/animate.min.css" rel="stylesheet">
		<link href="__CSS__/style.min.css" rel="stylesheet">
		<link href="__CSS__/admin.css" rel="stylesheet"><link href="__LIB__/fileinput/css/fileinput.min.css" rel="stylesheet" /> 
	</head>
	<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
		<div id="wrapper">
			<!--左侧导航开始-->
			<nav class="navbar-default navbar-static-side" role="navigation">
				<div class="nav-close"><i class="fa fa-times-circle"></i>
				</div>
				<div class="sidebar-collapse">
					<ul class="nav" id="side-menu">
						<li class="nav-header" style="height: 60px;padding: 0; text-align: center;line-height: 60px; color: #FFFFFF; font-size: 20px; ">
                               <strong><?php echo session('admin_name'); ?></strong>
						</li>
						<?php if(!empty($menu)): if(is_array($menu) || $menu instanceof \think\Collection): if( count($menu)==0 ) : echo "" ;else: foreach($menu as $key=>$vo): ?>
						<li class="menu">
							<a href="<?php echo $vo['name']; ?>">
								<i class="<?php echo $vo['icon']; ?>"></i>
								<span class="nav-label"><?php echo $vo['title']; ?> </span>
								<span class="fa arrow"></span>
							</a>
							<ul class="nav nav-second-level">
								<?php if(!empty($vo['children'])): if(is_array($vo['children']) || $vo['children'] instanceof \think\Collection): if( count($vo['children'])==0 ) : echo "" ;else: foreach($vo['children'] as $key=>$v): ?>
								<li>
									<a href="<?php echo url($v['name']); ?>"><?php echo $v['title']; ?></a>
								</li>
								<?php endforeach; endif; else: echo "" ;endif; endif; ?>
							</ul>
						</li>
						<?php endforeach; endif; else: echo "" ;endif; endif; ?>
					</ul>
				</div>
			</nav>
			<!--左侧导航结束-->
			<!--右侧部分开始-->
			<div id="page-wrapper" class="gray-bg dashbard-1">
				<div class="row border-bottom">
					<nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
						<div class="navbar-header">
							<a class="navbar-minimalize minimalize-styl-2 btn btn-primary" href="#">
								<i class="fa fa-bars"></i>
							</a>
						</div>
						<ul class="nav navbar-top-links navbar-left">
							<li class="hidden-xs" id='shouye'>
							<a href="<?php echo url('admin/index/index'); ?>">
								&nbsp;&nbsp;<i class="fa fa-home"></i>首页&nbsp;&nbsp;
							</a>
							</li>
							<li class="hidden-xs">
								<a href=<?php echo url('adminmall/UnionStore/index'); ?>>
									<i class="fa fa-users"></i>联盟商家</a>
							</li>
							<li>
								<a href=<?php echo url('adminmall/ConsMember/index',array('active'=>1)); ?>><i class="fa fa-user"></i>合伙人</a>
							</li>
							<li>
								<a href=<?php echo url('admin/Member/index',array('active'=>2)); ?>><i class="fa fa-user-plus"></i>加盟商申请</a>
							</li>
							<li>
								<a href=<?php echo url('adminmall/Scorec/index',array('active'=>3)); ?>><i class="fa fa-yen"></i>提现申请</a>
							</li>
							<li>
								<a href=<?php echo url('adminmall/Order/index',array('active'=>6)); ?>><i class="fa fa-shopping-cart"></i>订单管理</a>
							</li>
						</ul>
						<ul class="nav navbar-top-links navbar-right">
							<li class="hidden-xs">
								<a href="<?php echo url('system/clear'); ?>">
									<i class="fa fa-refresh"></i>清除缓存
								</a>
							</li>
							<li class="hidden-xs">
								<a href="<?php echo url('login/logout'); ?>"><i class="fa fa-sign-out"></i>退出系统</a>
							</li>
						</ul>
					</nav>
				</div>
				<div class="row">
					
 <div class="content-tabs">
	<ol class="breadcrumb">
		<li>
			<a href="<?php echo url('adminmall/index/index'); ?>"><i class="fa fa-home"></i></a>
		</li>
		<li>
			<a href="<?php echo url('index'); ?>">商家联盟列表</a>
		</li>
		<li><strong>审核</strong></li>
	</ol>
</div>
<div class="row">
	<div class="col-sm-12">
		<div class="ibox float-e-margins">
			<div class="ibox-content">
				<form id="myForm" class="form-horizontal m-t" method="post" action="<?php echo url('pass'); ?>">
					<input type="hidden" name="id" value="<?php echo $ad['id']; ?>" />
					<div class="form-group">
						<label class="col-sm-3 control-label">名称：</label>
						<div class="input-group col-sm-4">
							<input type="text" id="name" name="name" value="<?php echo $ad['name']; ?>" readonly="" class="form-control" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">地址：</label>
						<div class="input-group col-sm-4">
							<input type="text" id="address" name="address" value="<?php echo $ad['address']; ?>" readonly=""  class="form-control" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">logo：</label>
						<div class="input-group col-sm-4">
							<input type="hidden" id="thumb" name="thumb" value="<?php echo $ad['thumb']; ?>"/>
							<input id="upload" name="upload" type="file" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">二维码：</label>
						<div class="input-group col-sm-4">
							<input type="hidden" id="qecode" name="qecode" value="<?php echo $ad['qecode']; ?>"/>
							<input id="upload" name="upload" type="file" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">电话：</label>
						<div class="input-group col-sm-4">
							<input type="text" id="store_tel" name="store_tel" value="<?php echo $ad['store_tel']; ?>" readonly=""  class="form-control" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">负责人：</label>
						<div class="input-group col-sm-4">
							<input type="text" id="shopowner" name="shopowner" value="<?php echo $ad['shopowner']; ?>" readonly=""  class="form-control" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">所在经度：</label>
						<div class="input-group col-sm-4">
							<input type="text" id="longitude" name="longitude" value="<?php echo $ad['longitude']; ?>" readonly=""  class="form-control" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">所在纬度：</label>
						<div class="input-group col-sm-4">
							<input type="text" id="latitude" name="latitude" value="<?php echo $ad['latitude']; ?>" readonly=""  class="form-control" />
						</div>
					</div>	
					<div class="form-group">
						<label class="col-sm-3 control-label">描述：</label>
						<div class="input-group col-sm-4">
							<input type="text" id="content" name="content" value="<?php echo $ad['content']; ?>" readonly=""  class="form-control" />
						</div>
					</div>	
					<div class="hr-line-dashed"></div>
					<div class="form-group">
						<label class="col-sm-3 control-label">排序：</label>
						<div class="input-group col-sm-4">
							<input type="text" id="sort" name="sort" value="<?php echo $ad['sort']; ?>" readonly="" class="form-control" />
						</div>
					</div>
					
				
					<div class="form-group">
						<label class="col-sm-3 control-label">审核意见：</label>
						<div class="input-group col-sm-4">
							<textarea id="auditopin" name="auditopin"  class="form-control" style="height:100px;" ><?php echo $ad['auditopin']; ?></textarea>
						</div>
					</div>	
					<div class="form-group">
                    	<label class="col-sm-3 control-label">请审核</label>
		             	    <div class="col-sm-4 input-group">
		     	     	        <select name="status" id="status"  class="input-sm form-control input-s-sm inline" >
				     				
				                    <option value="2">审核通过</option>
				                    <option value="3">审核不通过</option>
		                         </select>
		                    </div>
		           	</div>
					<div class="hr-line-dashed"></div>
					<div class="form-group">
						<div class="col-sm-4 col-sm-offset-3">

							<button type="submit" class="btn btn-primary" value="保存"/><i class="fa fa-save"></i>保存</button> &nbsp;&nbsp;
							
							<a href="<?php echo url('index'); ?>" class="btn btn-danger"><i class="fa fa-arrow-left"></i> 返回 </a>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
</div>

				</div>
			</div>
			<!--右侧部分结束-->
		</div>
		<div class="footer">
			<div class="pull-right"> 版权所有CMS Project &copy; 2017-2020 版权所有</div>
		</div>
		<script src="__JS__/jquery.min.js"></script>
		<script src="__JS__/bootstrap.min.js"></script>
		<script src="__JS__/jquery.metisMenu.js"></script>
		<script src="__JS__/jquery.slimscroll.min.js"></script>
		<script src="__LIB__/layer/layer.js"></script>
		<script src="__JS__/core.min.js"></script>
		<script src="__JS__/pace.min.js"></script>
		<script src="__JS__/help.js"></script>
		<script>
			// 文件上传URL
			var __UPLOAD_URL__ = "<?php echo url('admin/upload/index'); ?>";
			var __CURRENT_URL__ = "<?php echo $current_url; ?>";
		</script>
		<script src="__JS__/admin.js"></script>
		<script>
			var show="<?php echo $is_show_left; ?>";
			if(show==0){
				$("body").toggleClass("mini-navbar"), SmoothlyMenu();
			}
		</script>
		
<script src="__JS__/jquery.form.js"></script>
<script src="__LIB__/validate/jquery.validate.min.js"></script>
<script src="__LIB__/validate/messages_zh.min.js"></script>
<script src="__LIB__/validate/add_validate.min.js"></script>
<script src="__LIB__/fileinput/js/fileinput.min.js"></script>
<script src="__LIB__/fileinput/js/locales/zh.js"></script>
<script src="__LIB__/datepicker/WdatePicker.js"></script>
<script>
	upload_one('<?php echo $ad['thumb']; ?>');
	$(function() {
		$("#myForm").validate({
			rules: {
				name: "required"
			},
			messages: {
				name: ICON.error + "请输入商家联盟名称"
			},
			submitHandler: function(form) {
				ajaxForm();
			}
		});
	});
</script>

	</body>

</html>